
.pg-location-wrapper {

  .pg-location,
  .pg-location :read-only {
    cursor: pointer;

    &:disabled {
      cursor: not-allowed;
    }
  }

}

.pg-location-container {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: $z-index-preview;
  background-color: #5a5d64;

}

.pg-location-container .pg-form-control {
  border: 1px solid #505B65 !important;
  background-color: #252837;

  input {
    color: #fff;
    caret-color: #fff;
  }

  &:hover,
  &:focus-within {
    border-color: #999 !important;
  }

}

.pg-location-container .navbar {
  top: 0;
  height: 50px;
  overflow: hidden;
  zoom: 1;


  border-bottom: 1px solid #d6dfea;
  background: #262F3E;
  padding: 0 100px;
  min-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

  .action {
    font-size: 12px;
    color: #C1C6C8; // 8c939d
    transition: color 0.3s ease-in-out;
    cursor: pointer;
    position: absolute;
    left: 20px;

    span {
      display: inline-block;
      line-height: 50px;
      padding: 0 20px;
      user-select: none;

      &:hover {
        color: #FFF;
      }
    }
  }
}

.pg-location-container .content {
  position: absolute;
  top: 50px;
  bottom: 0;
  display: flex;
  width: 100%;
  .poi-list {
    min-width: 300px;
    width: 300px;
    list-style: none;
    padding-left: 0;
    background-color: #faf8f5;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    border-right: 1px solid #d3d5d5;
    cursor: pointer;
    overflow-y: overlay;
    margin-bottom: 0;

    li {
      line-height: 20px;
      padding: 10px 20px;
      display: flex;
      flex-direction: column;
      transition: background-color 0.2s ease;

      &:hover,
      &.active {
        background-color: lighten(#d3d5d5, 10);
      }

      span {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}

.pg-location-container .content .amap-container {
  flex: 1;
  height: 100%;
  #bmap {
    width: 100%;
    height: 100%;
  }
}